/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.xulapa.rs;

import br.com.xulapa.domain.Marca;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author brunolellis
 */
@XmlRootElement
public class SearchableResource {

    private int page;
    private int total;
    private int records;

    private List<Marca> rows;

    public SearchableResource() {

        
    }

    public SearchableResource(int page, int total, int records, List<Marca> rows) {
        this.page = page;
        this.total = total;
        this.records = records;
        this.rows = rows;
    }

    

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getRecords() {
        return records;
    }

    public void setRecords(int records) {
        this.records = records;
    }

    public List<Marca> getRows() {
        return rows;
    }

    public void setRows(List<Marca> rows) {
        this.rows = rows;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    

}
